(global.webpackJsonp = global.webpackJsonp || []).push([ [ "daily/list" ], {
    7954: function(t, e, i) {
        (function(t) {
            i("1067"), n(i("66fd"));
            var e = n(i("7cc6"));
            function n(t) {
                return t && t.__esModule ? t : {
                    default: t
                };
            }
            wx.__webpack_require_UNI_MP_PLUGIN__ = i, t(e.default);
        }).call(this, i("543d").createPage);
    },
    "7cc6": function(t, e, i) {
        i.r(e);
        var n = i("9e32"), r = i("bbdf");
        for (var o in r) "default" !== o && function(t) {
            i.d(e, t, function() {
                return r[t];
            });
        }(o);
        var a = i("f0c5"), c = Object(a.a)(r.default, n.b, n.c, !1, null, "d011f100", null, !1, n.a, void 0);
        e.default = c.exports;
    },
    "9e32": function(t, e, i) {
        i.d(e, "b", function() {
            return n;
        }), i.d(e, "c", function() {
            return r;
        }), i.d(e, "a", function() {});
        var n = function() {
            this.$createElement;
            this._self._c;
        }, r = [];
    },
    "9ee3": function(t, e, i) {
        (function(t) {
            Object.defineProperty(e, "__esModule", {
                value: !0
            }), e.default = void 0;
            var n = i("a71e"), r = i("26cb"), o = (i("db8f"), i("0b02")), a = i("8434"), c = (i("0cc1"), 
            s(i("03b8")), i("b806")), u = s(i("801c"));
            function s(t) {
                return t && t.__esModule ? t : {
                    default: t
                };
            }
            function d(t) {
                return function(t) {
                    if (Array.isArray(t)) return l(t);
                }(t) || function(t) {
                    if ("undefined" != typeof Symbol && Symbol.iterator in Object(t)) return Array.from(t);
                }(t) || function(t, e) {
                    if (t) {
                        if ("string" == typeof t) return l(t, e);
                        var i = Object.prototype.toString.call(t).slice(8, -1);
                        return "Object" === i && t.constructor && (i = t.constructor.name), "Map" === i || "Set" === i ? Array.from(t) : "Arguments" === i || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i) ? l(t, e) : void 0;
                    }
                }(t) || function() {
                    throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
                }();
            }
            function l(t, e) {
                (null == e || e > t.length) && (e = t.length);
                for (var i = 0, n = new Array(e); i < e; i++) n[i] = t[i];
                return n;
            }
            function f(t, e) {
                var i = Object.keys(t);
                if (Object.getOwnPropertySymbols) {
                    var n = Object.getOwnPropertySymbols(t);
                    e && (n = n.filter(function(e) {
                        return Object.getOwnPropertyDescriptor(t, e).enumerable;
                    })), i.push.apply(i, n);
                }
                return i;
            }
            function p(t, e, i) {
                return e in t ? Object.defineProperty(t, e, {
                    value: i,
                    enumerable: !0,
                    configurable: !0,
                    writable: !0
                }) : t[e] = i, t;
            }
            var h = {
                components: {},
                data: function() {
                    return {
                        loadingOk: !1,
                        isRequest: !1,
                        dailyLists: {
                            data: [],
                            params: {
                                show: 1,
                                btnText: "马上去听"
                            }
                        },
                        page: 1,
                        pageSize: 10,
                        lecturer_id: ""
                    };
                },
                computed: function(t) {
                    for (var e = 1; e < arguments.length; e++) {
                        var i = null != arguments[e] ? arguments[e] : {};
                        e % 2 ? f(Object(i), !0).forEach(function(e) {
                            p(t, e, i[e]);
                        }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) : f(Object(i)).forEach(function(e) {
                            Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(i, e));
                        });
                    }
                    return t;
                }({}, (0, r.mapGetters)([ "configs", "mainColor", "user" ])),
                created: function() {},
                onShow: function() {
                    var t = this;
                    (0, c.init)(this).then(function(e) {
                        t.isBar = e;
                    });
                },
                onLoad: function(t) {
                    (0, n.isEmpty)(t.pid) || u.default.commit("config/SET_PID", t.pid), (0, n.isEmpty)(decodeURIComponent(t.scene).split("pid=")[1]) || u.default.commit("config/SET_PID", decodeURIComponent(t.scene).split("pid=")[1]), 
                    (0, n.isEmpty)(t.id) || (this.lecturer_id = t.id), this.getList();
                },
                onShareAppMessage: function(t) {
                    var e = (0, n.isEmpty)(this.user.id) ? 0 : this.user.id, i = (0, n.isEmpty)(this.lecturer_id) ? 0 : this.lecturer_id;
                    return t.from, {
                        title: "每日金句",
                        path: "/daily/list?id=" + i + "&pid=" + e
                    };
                },
                onShareTimeline: function() {
                    var t = (0, n.isEmpty)(this.user.id) ? 0 : this.user.id;
                    return {
                        title: "每日金句",
                        query: "id=" + ((0, n.isEmpty)(this.lecturer_id) ? 0 : this.lecturer_id) + "&pid=" + t,
                        imageUrl: ""
                    };
                },
                methods: {
                    enterDetail: function(t) {
                        (0, a.route)({
                            url: "/daily/index",
                            type: 1,
                            data: {
                                id: t.id
                            }
                        });
                    },
                    getList: function() {
                        var e = this, i = this;
                        i.loadingOk = !1, i.isRequest = !1;
                        var n = {
                            page: this.page,
                            pagesize: this.pageSize,
                            lecturer_id: this.lecturer_id
                        };
                        (0, o.dailyList)(n).then(function(n) {
                            var r = i.dailyLists.data, o = n.list;
                            r && 1 != i.page && (o = [].concat(d(r), d(o))), i.dailyLists.data = o, e.loadingOk = !0, 
                            e.isRequest = 0 == i.dailyLists.data.length, t.stopPullDownRefresh();
                        });
                    }
                },
                onPullDownRefresh: function() {
                    this.page = 1, this.dailyLists.data = [], this.getList();
                },
                onReachBottom: function() {
                    this.page++, this.getList();
                }
            };
            e.default = h;
        }).call(this, i("543d").default);
    },
    bbdf: function(t, e, i) {
        i.r(e);
        var n = i("9ee3"), r = i.n(n);
        for (var o in n) "default" !== o && function(t) {
            i.d(e, t, function() {
                return n[t];
            });
        }(o);
        e.default = r.a;
    }
}, [ [ "7954", "common/runtime", "common/vendor" ] ] ]);